home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group94b.txt / 000065_icon-group-sender _Mon Sep 26 03:17:50 1994.msg < prev    next >
Internet Message Format  |  1995-02-09  |  921b

  1. Received: by cheltenham.cs.arizona.edu; Mon, 26 Sep 1994 05:35:28 MST
  2. To: icon-group-l@cs.arizona.edu
  3. Date: 26 Sep 94 10:09:48 BST
  4. From: g.landini@bham.ac.uk (Gabriel Landini)
  5. Message-Id: <940926100948@ibm3090.bham.ac.uk>
  6. Organization: The University of Birmingham, United Kingdom
  7. Sender: icon-group-request@cs.arizona.edu
  8. Subject: sort() but descending?
  9. Errors-To: icon-group-errors@cs.arizona.edu
  10.  
  11. ==============================================================================
  12. Hi, I am just a beginner in Icon. Looking in the library files, I found an
  13.  
  14. interesting one tablw.icn which finds the frequency of words in a text.
  15. However, the listing is from less-frequent to more frequent.
  16.  
  17. I would like to sort that list from more frequent to less frequent, but I
  18. cannot find the way to do it. Any ideas?
  19. Does the sort(0 and sortf() only sort in ascending order?
  20. thanks
  21.  
  22. Gabriel G.Landini@bham.ac.uk
  23.